{template header}

    {template title}

    <div class="box">
        <div class="navi">
            <div class="btn-group">
                <button class="btn btn-small">筛选：</button>
            </div>
            <div class="btn-group">
                <a class="btn btn-small" href="{$this->url( $c, null )}">全部</a>
                <a class="btn btn-small" href="{$this->url( $c, null, array( 'view' => '1') )}">已审核</a>
                <a class="btn btn-small" href="{$this->url( $c, null, array( 'view' => '0') )}">未审核</a>
            </div>
        </div>
        <table cellpadding="1" cellspacing="1" width="100%" border="0">
            <tr>
                <th width="7%">选择</th>
                <th class="td2">内容</th>
                <th width="10%">状态</th>
            </tr>
        <!--{if $result[ 'result' ]}-->
            <!--{loop $result['result'] $val}-->
            <tr>
                <td><input type="checkbox" name="id" value="{$val['id']}"/></td>
                <td class="td2">{$val['content']}<span class='date'>{echo formatDate($val['dateline'])}</span></td>
                <td>{$val['status'] ? '已审核' : '<b style="color: blue;">未审核</b>'}</td>
            </tr>
            <!--{/loop}-->
        <!--{else}-->
            <tr>
                <td colspan="3">没有评论!</td>
            </tr>
        <!--{/if}-->
            <tr>
                <td colspan="3" class="td2 multiple">
                    <button class="btn btn-small btn-info btn-all">全选</button>
                    <a class="btn btn-small btn-danger" href="{$this->url($c, 'del')}" title="删除评论">删除</a>
                    <a class="btn btn-small btn-success" href="{$this->url($c, 'verify')}" title="标记已审核">标记已审核</a>
                </td>
            </tr>
        </table>
        <!--{if $result[ 'page' ]}-->
        <div class="navi top">
            <div class="page">{$result[ 'page' ]}</div>
            <div class="search">
                <form action="{$this->url($c, null, $this->get('key'))}">
                    <input type="text" name="key" class="span3" placeholder="请输入{$this->name}内容" />
                    <button type="button" class="btn">搜索</button>
                </form>
            </div>
            <div class="clear"></div>
        </div>
        <!--{/if}-->
    </div>
{template footer}